<%--
  Created by IntelliJ IDEA.
  User: ZT171
  Date: 2024/10/13
  Time: 0:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/static/layui/css/layui.css" >
</head>
<body>
<form action="/student/addSave" method="post">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">学号</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="studentNum"class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">学生的名</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="studentName"  class="layui-input">
            </div>
        </div>
    </div><div class="layui-form-item">
    <div class="layui-inline">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-inline">
            <select name="gender" class="layui-select" required>
                <option value="0">男</option>
                <option value="1">女</option>
                <option value="2">保密</option>
            </select>
        </div>
    </div>
</div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">年龄</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="age"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">出生日期</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="birthday" name="birthday"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">班级编号</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="classId"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">宿舍编号</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="hostelId"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="phone"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">电子邮件地址</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="email"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">家庭住址</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="homeAddress"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">紧急联系人姓名</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="emergencyContact"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">紧急联系人联系电话</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="emergencyPhone"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">专业</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="major"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">学生状态</label>
            <div class="layui-input-inline">
                <select name="status" class="layui-select" required>
                    <option value="0">在读</option>
                    <option value="1">毕业</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">删除标志</label>
            <div class="layui-input-inline">
                <select name="deleteFlag" class="layui-select" required>
                    <option value="0">存在</option>
                    <option value="1">删除</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">创建者</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="creatby"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">创建时间</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="creatTime" name="createTime"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">更新者</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="updateby"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">更新时间</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="updateTime" name="updateTime"  class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" name="remark"  class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
<script src="/static/layui/layui.js"></script>
<script>
    layui.use(function() {
        var laydate = layui.laydate;
        // 渲染
        laydate.render({
            elem: '#birthday'
        });
        laydate.render({
            elem: '#creatTime',
            type: 'datetime'
        });
        laydate.render({
            elem: '#updateTime',
            type: 'datetime'
        });
    });
    </script>


</body>
</html>
